<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>Vue.extend的简写形式</title>
		<!-- 引入Vue -->
		<script type="text/javascript" src="../js/vue.js"></script>
		<script type="text/javascript" src="./Person.js"></script>
		<script type="text/javascript" src="./School.js"></script>
		<script type="text/javascript" src="./App.js"></script>
		<style>
			.app{

			}
			.school{

			}

			.person{
				
			}
		</style>
	</head>
	<body>
		<!-- 准备好一个容器-->
		<div id="demo"></div>
	</body>

	<script type="text/javascript">
		Vue.config.productionTip = false //阻止 vue 在启动时生成生产提示。
				
		//创建vm
		new Vue({
			el:'#demo',
			components:{App},
			template:`<App></App>`
		})
	</script>
</html>